package com.lungle.warmdiary.app.model.response;

import com.google.gson.annotations.SerializedName;
import com.lungle.warmdiary.app.model.Entity;

/**
 * Created by God on 2016/8/27.
 */
public class ActiveState extends Entity {
    private static final long serialVersionUID = 1L;

    public static final int STATE_UNCONFIRM = 0;
    public static final int STATE_UNSTART = 1;
    public static final int STATE_UNEXECUTE = 2;
    public static final int STATE_UNCHECK = 3;
    public static final int STATE_PASS = 4;
    public static final int STATE_UNPASS = 5;
    public static final int STATE_REFUSE = 6;
    public static final int STATE_ABANDON = 7;
    public static final int STATE_STOP = 8;


    @SerializedName("0")
    private int unconfirm;
    @SerializedName("1")
    private int unstart;
    @SerializedName("2")
    private int unexecute;
    @SerializedName("3")
    private int uncheck;
    @SerializedName("4")
    private int pass;
    @SerializedName("5")
    private int unpass;
    @SerializedName("6")
    private int refuse;
    @SerializedName("7")
    private int abandon;
    @SerializedName("8")
    private int stop;

    public int getUnconfirm() {
        return unconfirm;
    }

    public void setUnconfirm(int unconfirm) {
        this.unconfirm = unconfirm;
    }

    public int getUnstart() {
        return unstart;
    }

    public void setUnstart(int unstart) {
        this.unstart = unstart;
    }

    public int getUnexecute() {
        return unexecute;
    }

    public void setUnexecute(int unexecute) {
        this.unexecute = unexecute;
    }

    public int getUncheck() {
        return uncheck;
    }

    public void setUncheck(int uncheck) {
        this.uncheck = uncheck;
    }

    public int getPass() {
        return pass;
    }

    public void setPass(int pass) {
        this.pass = pass;
    }

    public int getUnpass() {
        return unpass;
    }

    public void setUnpass(int unpass) {
        this.unpass = unpass;
    }

    public int getRefuse() {
        return refuse;
    }

    public void setRefuse(int refuse) {
        this.refuse = refuse;
    }

    public int getAbandon() {
        return abandon;
    }

    public void setAbandon(int abandon) {
        this.abandon = abandon;
    }

    public int getStop() {
        return stop;
    }

    public void setStop(int stop) {
        this.stop = stop;
    }

    public static class Item {
        private int state;
        private String name;
        private int color;
        private int num;


        public Item(int state, String name, int color, int num) {
            this.state = state;
            this.name = name;
            this.color = color;
            this.num = num;
        }

        public int getState() {
            return state;
        }

        public int getNum() {
            return num;
        }

        public int getColor() {
            return color;
        }

        public String getName() {
            return name;
        }
    }
}
